<%#
# To change this template, choose Tools | Templates
# and open the template in the editor.
%>

<div class="menu <%= "active" if(params[:controller] == "admin/courses") %>">
  <div class="menu_header">
    <span class="cPanel_icon cPane_course_icon"></span>
    <%= link_to "Courses" , {:controller => "/admin/courses", :action => "index"} %>
    <span class="cPanel_toggler"></span>
  </div>
  <div class="menu_body">
    <ul>
      <li class="<%= "active_link" if(params[:action] == "index") %>">
        <%= link_to  'All Courses' , {:controller => "/admin/courses", :action => "index"} %>
      </li>
      <li class="<%= "active_link" if(params[:action] == "new") %>">
        <%= link_to  'Add New' , {:controller => "/admin/courses", :action => "new"}  %>
      </li>
    </ul>
  </div>
</div>